#pragma once

#include <stdio.h>

#ifdef _WIN32_WINNT
#include <tchar.h>
#include <Winsock2.h>
#include <windows.h>  
#pragma comment(lib, "Ws2_32.lib")
#else
#include <unistd.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <pthread.h>

#define SOCKET int
#define HANDLE (void *)
typedef unsigned char   u_char;
typedef unsigned short  u_short;
typedef unsigned int    u_int;
typedef unsigned long   u_long;
typedef unsigned long   DWORD;
#endif
